Python for loop through nested dictionary question

welcome to shbcf.ru